package algorithms;

public class SmallestMultiple {
	
	public static void main(String[] args) {
		boolean finish = false;
		int n = 20;
		while (!finish) {
			boolean ok = true;
			for (int i = 1; i < 20; i++) {
				if (n % i != 0) {
					ok = false;
					break;
				}
			}
			
			if (ok) {
				System.out.println(n);
				finish = true;
				break;
			}
			
			n++;
		}
	}
	
}
